package GoroutineExecutor

import (
	"gitee.com/manoshi/go-util/exception/catch"
)

func do(f func()) {
	defer catch.ExceptionCatch(nil)
	f()
}

func SynDo(f func()) {
	go do(f)
}
